﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreBroker
{
    /// <summary>
    /// 拍照结果
    /// </summary>
    public class TakingResult
    {
        /// <summary>
        /// 拍照成果照片
        /// </summary>
        public TakenPhoto Photo
        {
            get;
            set;
        }

        /// <summary>
        /// 照片的完整检测结果
        /// </summary>
        public RecogOut DetectResult
        {
            get;
            set;          
        }

        /// <summary>
        /// 指示拍照是否成功
        /// </summary>
        public bool Success
        {
            get;
            set;
        }

        /// <summary>
        /// 指示拍照失败时的错误信息
        /// </summary>
        public string ErrorMessage
        {
            get;
            set;
        }

        public TakingResult()
        {

        }
    }
}
